const qs = require('querystring')

exports.index = function(req, res) {
    res.render('index.html', { message: 'template powered by nunjucks!' })
}

exports.testPost = function(req, res) {
    console.log(req)
    res.json({ data: 'ok' })
}

exports.upload = function(req, res) {
    console.log(req.file)
    res.redirect('/')
}
